# -*- coding: utf-8 -*-
'''应用程序入口'''
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.ext import zipserve

import urls

application = webapp.WSGIApplication(urls.urls, debug=True)

def main():
    '''Takes a WSGIApplication instance
    (or another WSGI-compatible application object)
    and runs it in App Engine's CGI environment.'''
    run_wsgi_app(application)

if __name__ == "__main__":
    main()